projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a007e1
)
xentrace: XC_PAGE_SIZE should be used
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 21 Jan 2010 09:13:46 +0000
(09:13 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 21 Jan 2010 09:13:46 +0000
(09:13 +0000)
20827:
fad80160c001
cannot be compiled on ia64:
xentrace.c:647: error: 'PAGE_SIZE' undeclared (first use in this
This patch fixes it.
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
tools/xentrace/xentrace.c
patch
|
blob
|
history
diff --git
a/tools/xentrace/xentrace.c
b/tools/xentrace/xentrace.c
index b6da08e38cc7aa1f848538da19b1589459e28b09..7f63e7fc9d1f02ad88f39a4d0d3ebabf4a14cd93 100644
(file)
--- a/
tools/xentrace/xentrace.c
+++ b/
tools/xentrace/xentrace.c
@@
-644,7
+644,7
@@
static int monitor_tbufs(void)
get_tbufs(&tbufs_mfn, &tinfo_size);
tbufs = map_tbufs(tbufs_mfn, num, tinfo_size);
- size = tbufs->t_info->tbuf_size * PAGE_SIZE;
+ size = tbufs->t_info->tbuf_size *
XC_
PAGE_SIZE;
data_size = size - sizeof(struct t_buf);